package com.rgst.serivce;

import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.rgst.dao.entity.Enroll;
import com.rgst.dao.entity.Student;
import com.rgst.dto.Result;

/**
 * Created by tancw on 2019/11/24.
 */
public interface EnrollService {

    Result submit(Student student, Enroll enroll);

    List<Enroll> query(Long userId);

    Page<Enroll> listData(Map param, Pageable pageable);

    Workbook getForExcel(Map<String, Object> param, Pageable pageable);
}
